// ConsoleApp.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
#include <fstream>
#include "math.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif

#include "sps.h"
#include "ajay.h"
#include "poorna.h"
#include "blepo.h" // include the blepo header file.
using namespace blepo; // Include the blepo namespace.
using namespace std;
// The one and only application object


CWinApp theApp;

using namespace std;


// Function Declarations
#define g_const_f 2.5 // The Gaussian constant f used to calculate the half width of the gaussian kernel.
#define deri 1 // Bool value for derivative of gaussian





int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
	int nRetCode = 0;

	HMODULE hModule = ::GetModuleHandle(NULL);

	if (hModule != NULL)
	{
		// initialize MFC and print and error on failure
		if (!AfxWinInit(hModule, NULL, ::GetCommandLine(), 0))
		{
			// TODO: change error code to suit your needs
			_tprintf(_T("Fatal Error: MFC initialization failed\n"));
			nRetCode = 1;
		}
		else
		{
		
			EventLoop();
		}

	}
	else
	{
		// TODO: change error code to suit your needs
		_tprintf(_T("Fatal Error: GetModuleHandle failed\n"));
		nRetCode = 1;
	}

	return nRetCode;
}


